package com.medicine.prm.entity.member;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * test实体
 * Tbsmember entity.
 * @author 杨文
 * @date 2019-12-12 15:52
 */
@Entity
@Data
@TableName("tbsmember")
public class Tbsmember implements Serializable {

	private static final long serialVersionUID = 1L;
	@TableId(value = "smemberid", type = IdType.UUID)
	/*
	* 会员主键
	*/
	private String smemberid;
	/*
	* 医院主键
	*/
	private String shospitalid;
	/*
	* 机构主键
	*/
	private String sorgid;
	/*
	* 电话
	*/
	private String smobile;
	/*
	* 名称
	*/
	private String sname;
	/*
	* 昵称
	*/
	private String snickname;
	/*
	* 生日
	*/
	private java.util.Date dbirthday;
	/*
	* 性别1=男2=女
	*/
	private Integer isex;
	/*
	* 创建时间
	*/
	private java.util.Date dcreatetime;
	/*
	* 头像
	*/
	private String sheadurl;
	/*
	* 余额
	*/
	private Double ibalance;
	/*
	* 可提现余额
	*/
	private Double idrawback;
	/*
	* 注册时间
	*/
	private java.util.Date dregistertime;
	/*
	* 注册来源1=小程序2=公众号3=后台系统
	*/
	private Integer ifrom;
	/*
	* SOPENID
	*/
	private String sopenid;
	/*
	* SUNIONID
	*/
	private String sunionid;
	
	/*
	 * 推荐人
	 */
	private String sreference;

	/*
	  身份证号码
	 */
	private String  scard;


}
